<?php
namespace Home\Model;
use Think\Model;
class WishModel extends Model{
    protected  $tableName = "wishlist";
    protected $_validate = array(
        array('username','require','用户名不能为空！'),
        array('content','require','许愿内容不能为空！'),
    );
}
?>